/****************************************
 ** Purpose:
 **
 **
 **
 **
 ****************************************/
#ifndef CKEYBOARD_H
#define CKEYBOARD_H

#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>

class cKeyboard {
	public:
		//Constructor for the Keyboard class
		cKeyboard(DWORD keyboardCoopFlags, IDirectInput8 *pDInput, HWND hWnd);

		//Destructor for the keyboard class
		~cKeyboard();

		//Gathering Kayboard Pressed events
		bool isKeyPressed(char key);

		//Checks to ensure that the keyboard has been acquired.
		void Poll();

	private:
		//Keyboard Device
		IDirectInputDevice8		*m_pKeyboard;

		//Keyboard States
		char					m_keyboardState[256];
};

#endif